home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / BSP Tree 1.2 / Sources / Core / include / 3d bound.h next >
Encoding:
Text File  |  1995-03-26  |  1.4 KB  |  31 lines  |  [TEXT/MMCC]

  1. //------------------------------------------------------------------------------
  2. //    File:                    3d bound.h
  3. //    Date:                    7/20/94
  4. //    Author:                Bretton Wade
  5. //
  6. //    Description:    this file contains the class definition for a 3d bound widget.
  7. //
  8. //------------------------------------------------------------------------------
  9.  
  10. #include    "bound.h"
  11.  
  12. #ifndef    BOUND3D
  13. #define    BOUND3D
  14.  
  15. //------------------------------------------------------------------------------
  16. //    classes
  17. //------------------------------------------------------------------------------
  18. class    bound3d : public bound                                                                                                        //    bound 3d widget class
  19. {                                                                                                                                                                //    begin
  20.     private:                                                                                                                                            //    members internal to this class only
  21.     protected:                                                                                                                                        //    members internal to this class hierarchy
  22.                 bool    up;                                                                                                                                //    frame up or down
  23.     public:                                                                                                                                                //    members available externally
  24.                 bound3d (Rect&, Rect&, bool = TRUE);                                                                        //    constructor
  25. virtual    void        Update (EventRecord&);                                                                                    //    method to draw the widget and all of its children
  26. virtual    void        Draw (void);                                                                                                        //    draw the widget
  27. };                                                                                                                                                            //    end
  28.  
  29. //------------------------------------------------------------------------------
  30.  
  31. #endif    //BOUND3D